<?php

namespace App\Http\Controllers\Admin;


use App\Services\CommonService;
use Illuminate\Http\Request;

class MdMDeviceController
{

    public function mdmApi(Request $request)
    {
        $params = $request->all();
        $data=to_post_labeila($params['path_url'], $params);

        if($data['code']==1){
            return ReturnMsg(CommonService::HTTP_CODE_SUCCESS,'获取成功',$data);
        }else{
            return ReturnMsg(CommonService::HTTP_CODE_FAIL,$data['msg'],$data);
        }

    }


}
